package richbar.com.richbar.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/12/19.
 */

public class RebateBean {

    /**
     * code : 200
     * msg : 请求成功
     * data : {"list":[{"id":6,"time":"2018-12-15 16:48:32","price":"1.20","name":"018冬装新款 女高领套头毛衣宽松粗毛线慵懒风原宿蝙蝠针织衫女"},{"id":5,"time":"2018-12-15 16:48:32","price":"1.00","name":"018冬装新款 女高领套头毛衣宽松粗毛线慵懒风原宿蝙蝠针织衫女"},{"id":4,"time":"2018-12-15 16:25:12","price":"2.00","name":"女半高领毛衣修身上衣套头花瓣袖针织衫女长袖打底衫"},{"id":3,"time":"2018-12-15 12:25:07","price":"2.10","name":"女半高领毛衣修身上衣套头花瓣袖针织衫女长袖打底衫"},{"id":2,"time":"2018-12-14 22:24:50","price":"1.60","name":"018冬装新款 女高领套头毛衣宽松粗毛线慵懒风原宿蝙蝠针织衫女"},{"id":1,"time":"2018-12-14 16:24:01","price":"0.50","name":"018冬装新款 女高领套头毛衣宽松粗毛线慵懒风原宿蝙蝠针织衫女"}],"total":6,"totalpage":1,"balance":"0.00","error":0}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":6,"time":"2018-12-15 16:48:32","price":"1.20","name":"018冬装新款 女高领套头毛衣宽松粗毛线慵懒风原宿蝙蝠针织衫女"},{"id":5,"time":"2018-12-15 16:48:32","price":"1.00","name":"018冬装新款 女高领套头毛衣宽松粗毛线慵懒风原宿蝙蝠针织衫女"},{"id":4,"time":"2018-12-15 16:25:12","price":"2.00","name":"女半高领毛衣修身上衣套头花瓣袖针织衫女长袖打底衫"},{"id":3,"time":"2018-12-15 12:25:07","price":"2.10","name":"女半高领毛衣修身上衣套头花瓣袖针织衫女长袖打底衫"},{"id":2,"time":"2018-12-14 22:24:50","price":"1.60","name":"018冬装新款 女高领套头毛衣宽松粗毛线慵懒风原宿蝙蝠针织衫女"},{"id":1,"time":"2018-12-14 16:24:01","price":"0.50","name":"018冬装新款 女高领套头毛衣宽松粗毛线慵懒风原宿蝙蝠针织衫女"}]
         * total : 6
         * totalpage : 1
         * balance : 0.00
         * error : 0
         */

        private int total;
        private int totalpage;
        private String balance;
        private int error;
        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getTotalpage() {
            return totalpage;
        }

        public void setTotalpage(int totalpage) {
            this.totalpage = totalpage;
        }

        public String getBalance() {
            return balance;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        public int getError() {
            return error;
        }

        public void setError(int error) {
            this.error = error;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 6
             * time : 2018-12-15 16:48:32
             * price : 1.20
             * name : 018冬装新款 女高领套头毛衣宽松粗毛线慵懒风原宿蝙蝠针织衫女
             */

            private int id;
            private String time;
            private String price;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
